package com.xiaomi.service;

import com.xiaomi.entity.Tuijian;

import java.util.List;
import java.util.Map;

/**
 * @ClassName TuijianService
 * @Description TODO
 * @Author Rzcy
 * @Date 2021/11/27 16:40
 * @Version 1.0
 **/
public interface TuijianService {
    /**
     * @MethodName pageSearch
     * @Description TODO
 * @Param tjName
 * @Param price
 * @Param startRow
 * @Param limit
     * @Return [tjName, price, startRow, limit]
     * @Author zcy
     * @Date 2021/11/27 16:45
     **/
    List<Tuijian> pageSearch(Map<String,Object> pars);
    Integer getCount(Map<String,Object> pars);
    void insert( Tuijian tuijian);
    void update( Tuijian tuijian);
    void delete( Integer tjId);
    void sjupdate(Integer shangJia ,Integer tjId);

}
